package com.senlingspace.payment.lakala.service;

import com.senlingspace.common.exception.payment.LakalaException;
import com.senlingspace.payment.lakala.bean.request.LakalaFeeAmountRequest;
import com.senlingspace.payment.lakala.bean.response.LakalaFeeAmountResponse;

/**
 * 商户计费接口
 *
 * @author lebronjames
 * @date 2024/08/09
 */
public interface LakalaTransFeeService {

    /**
     * 查询商户计费
     * <p>
     * {@link <a href="https://o.lakala.com/#/home/document/detail?id=553">...</a>}
     *
     * @param request
     * @return {@link LakalaFeeAmountResponse }
     * @throws LakalaException 拉卡拉异常
     */
    LakalaFeeAmountResponse feeAmount(LakalaFeeAmountRequest request) throws LakalaException;

}
